package com.ruoyi.common.core.domain.entity;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;

/**
 * 用户对象 sys_user
 * 
 * @author ruoyi
 */

@ApiModel(value="user对象",description="用户对象user")
public class SysAgentUser implements Serializable
{
    private static final long serialVersionUID = 1L;



    /** 部门ID */

    private Long deptId;


    /** 登录名称 */
    private String loginName;

    /** 用户名称 */

    private String userName;



    /** 手机号码 */

    private String phonenumber;

    /** 用户性别 */

    private String sex;

    private String code;
    private String openId;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

            .append("deptId", getDeptId())
            .append("loginName", getLoginName())
            .append("userName", getUserName())
            .append("phonenumber", getPhonenumber())
            .append("sex", getSex())
                .append("code", getCode())
                .append("openId", getOpenId())
            .toString();
    }
}
